package com.infore.gateway.main.feign;

import com.infore.gateway.main.model.ResultEntity;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;


@FeignClient(name = "identityCenter", url = "http://192.168.10.193:21010")
public interface IAuthService {

    @RequestMapping(value = "/identityCenter/auth/checkAndRenewToken", method = RequestMethod.GET)
    ResultEntity checkAndRenewToken();

}
